package es.ubu.interfaz;

import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JPanel;

@SuppressWarnings("serial")
public class PanelGuardarCancelar extends JPanel {

	/**
	 * Create the panel.
	 */
	public PanelGuardarCancelar() {
		setLayout(new GridLayout(0, 2, 0, 0));

		JButton btnAceptar = new JButton("Guardar Cambios");
		btnAceptar.addActionListener(new BtnAceptarActionListener());
		add(btnAceptar);
		
		JButton btnCancelar = new JButton("Cancelar");
		add(btnCancelar);
	}

	private class BtnAceptarActionListener implements ActionListener {
		public void actionPerformed(ActionEvent e) {
		}
	}
}
